﻿<navigation:Page  x:Class="TotalSystems.Store.Views.BaseInfo.TypeStore" 
                  xmlns:my="clr-namespace:TotalSystems.Core.Controls;assembly=TotalSystems.Core" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="2000" d:DesignHeight="800" FlowDirection="RightToLeft"
           Title="نوع انبار">
    <Grid x:Name="LayoutRoot"  >
        <StackPanel>
            <Canvas Height="45">
                <telerik:RadButton Height="35" Width="35" Name="Btn_Add" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="ایجاد" Canvas.Left="11" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" Name="Btn_Edit" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="ویرایش" Canvas.Left="48" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" Name="Btn_Delete" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="حذف" Canvas.Left="85" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" Name="Btn_Help" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="راهنمای فرم" Canvas.Left="122" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Help.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
            </Canvas>

            <Canvas Height="500">
                <CheckBox Content=" : وضعیت " ToolTipService.ToolTip="وضعیت رکورد" Height="16" Name="CHK_STR_Ts_Active" IsEnabled="False" Canvas.Left="346" Canvas.Top="101" />
                <CheckBox Content=" : Is Expand " ToolTipService.ToolTip="وضعیت باز یا بسته بودن نود" Height="16" Name="CHK_STR_Ts_IsExpand" IsEnabled="False" Canvas.Left="440" Canvas.Top="101" />
                <my:LabeledText IsMandatory="True" LabelText="کد نوع انبار" LableWidth="100" Name="labelText1" Text="" Width="240" Canvas.Left="346" Canvas.Top="8" />
                <my:LabeledText IsMandatory="True" LabelText="کد والد" LableWidth="100" Name="labeledText1" Text="" Width="240" Canvas.Left="592" Canvas.Top="9" />
                <my:LabeledText IsMandatory="True" LabelText="نام نوع انبار" LableWidth="100" Name="labeledText2" Text="" Width="240" Canvas.Left="346" Canvas.Top="39" />
                <my:LabeledText LabelText="توضیحات" LableWidth="100" Name="labeledText3" Text="" Width="486" Canvas.Left="346" Canvas.Top="70" />
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="719,140,0,0" Name="Btn_Accept" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="تایید" Visibility="Collapsed" >
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Save.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="756,140,0,0" Name="Btn_Cancel" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="انصراف" Visibility="Collapsed" >
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Cancel.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <my:BaseDefenitionsTreeView Canvas.Left="10" Canvas.Top="8" Height="300" IDPropertyName="STR_Ts_ID" IsActivePropertyName="STR_Ts_Active" IsExpandedPropertyName="STR_Ts_IsExpand" IsTabStop="False" ItemsSource="{Binding TypeStoreEntitys}" Name="baseDefenitionsTreeView1" NamePropertyName="STR_Ts_Name" ParentIdPropertyName="STR_Ts_Parent_ID_fk" Width="325" />
            </Canvas>
        </StackPanel>
    </Grid>
</navigation:Page>
